package com.ruoyi.market.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * 店铺店员配置对象 configEmployee
 *
 * @author ruoyi
 */
public class ConfigEmployee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /* 店铺ID */
    private String shopId;

    // 被拒店员重新申请 Y-是 N-否
    private String statusApplyAgain;

    // 动态是否需要审核 Y-是 N-否
    private String statusDynamicAudit;

    // 资料修改是否需要审核 Y-是 N-否
    private String statusInfoAudit;

    // 店员是否可以取消订单 Y-是 N-否
    private String statusCancelOrder;

    // 店员可以提醒顾客续单 Y-是 N-否
    private String statusContinueOrder;

    // 是否开启降级 Y-是 N-否 默认否
    private String statusReduceLevel;

    // 每周最大提现次数
    private int cashTimes;

    // 单笔最大提现金额
    private BigDecimal amountMax;

    // 单笔最小提现金额
    private BigDecimal amountMin;

    public ConfigEmployee() {

    }

    public ConfigEmployee(String shopId) {
        this.shopId = shopId;
    }

    @NotBlank(message = "店铺ID不能为空")
    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getStatusApplyAgain() {
        return statusApplyAgain;
    }

    public void setStatusApplyAgain(String statusApplyAgain) {
        this.statusApplyAgain = statusApplyAgain;
    }

    public String getStatusContinueOrder() {
        return statusContinueOrder;
    }

    public void setStatusContinueOrder(String statusContinueOrder) {
        this.statusContinueOrder = statusContinueOrder;
    }

    public String getStatusReduceLevel() {
        return statusReduceLevel;
    }

    public void setStatusReduceLevel(String statusReduceLevel) {
        this.statusReduceLevel = statusReduceLevel;
    }

    public String getStatusDynamicAudit() {
        return statusDynamicAudit;
    }

    public void setStatusDynamicAudit(String statusDynamicAudit) {
        this.statusDynamicAudit = statusDynamicAudit;
    }

    public String getStatusInfoAudit() {
        return statusInfoAudit;
    }

    public void setStatusInfoAudit(String statusInfoAudit) {
        this.statusInfoAudit = statusInfoAudit;
    }

    public int getCashTimes() {
        return cashTimes;
    }

    public void setCashTimes(int cashTimes) {
        this.cashTimes = cashTimes;
    }

    public String getStatusCancelOrder() {
        return statusCancelOrder;
    }

    public void setStatusCancelOrder(String statusCancelOrder) { this.statusCancelOrder = statusCancelOrder; }

    public BigDecimal getAmountMax() {
        return amountMax;
    }

    public void setAmountMax(BigDecimal amountMax) {
        this.amountMax = amountMax;
    }

    public BigDecimal getAmountMin() {
        return amountMin;
    }

    public void setAmountMin(BigDecimal amountMin) {
        this.amountMin = amountMin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("shopId", getShopId())
                .append("statusApplyAgain", getStatusApplyAgain())
                .append("statusDynamicAudit", getStatusDynamicAudit())
                .append("statusInfoAudit", getStatusInfoAudit())
                .append("statusCancelOrder", getStatusCancelOrder())
                .append("statusContinueOrder", getStatusContinueOrder())
                .append("statusReduceLevel", getStatusReduceLevel())
                .append("cashTimes", getCashTimes())
                .append("amountMax", getAmountMax())
                .append("amountMin", getAmountMin())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
